package henu.IF;

import java.util.List;

import henu.bean.ChoiceQuestion;
import henu.bean.JudgeQuestion;
import henu.bean.MultiChoiceQuestion;

public interface ManagementQuestionIF {
	// 单选题
    public boolean addchoiceQuestion(ChoiceQuestion cq);
    public List<ChoiceQuestion> findchoiceQuestion(String subjectid);
    public List<ChoiceQuestion> findchoiceQuestionByPage(String subjectid ,String orderName ,int pagenum, int curPage);
    public boolean deletechoiceQuestion(String c_id);
    public boolean modifychoiceQuestion(ChoiceQuestion cq);
    
    // 多选题
    public boolean addMultiChoiceQuestion(MultiChoiceQuestion mcq);
    public List<MultiChoiceQuestion> findMultiChoiceQuestion(String subjectid);
    public List<MultiChoiceQuestion> findMultiChoiceQuestionByPage(String subjectid ,String orderName ,int pagenum, int curPage);
    public boolean deleteMultiChoiceQuestion(String m_id);
    public boolean modifyMultiChoiceQuestion(MultiChoiceQuestion cq);
    
    // 判断题
    public boolean addjudgeQuestion(JudgeQuestion jq);
    public List<JudgeQuestion> findjudgeQuestion(String subjectid);
    public List<JudgeQuestion> findjudgeQuestionByPage(String subjectid ,String orderName ,int pagenum, int curPage);
    public boolean deletejudgeQuestion(String j_id);
    public boolean modifyjudgeQuestion(JudgeQuestion jq);
}
